<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title>道孚县智慧水务建设项目</title>
    <link rel="stylesheet" href="/Cesium/Widgets/widgets.css" />
    <script src="/Cesium/Cesium.js"></script>
    <script src="https://api.tianditu.gov.cn/cdn/plugins/cesium/cesiumTdt.js"></script>
    <!-- <script
      type="text/javascript"
      src="https://webapi.amap.com/maps?v=2.0&key=ce585f4602180dd09d1c6d2ce5dcdad4&plugin=AMap.ToolBar"
    ></script> -->
    <!-- <script src="//webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script> -->
    <script>
      window.SITE_CONFIG = {}
    </script>
    <!-- 开发环境 -->
    <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
    <script>
      window.SITE_CONFIG['apiURL'] = 'http://139.155.92.140:8081/'
    </script>
    <!-- <script>window.SITE_CONFIG['apiURL'] = 'https://www.scfxkh.com/fxjava';</script> -->
    <script>
      localStorage.setItem('baseURL', window.SITE_CONFIG['apiURL'])
    </script>
    <script>
      localStorage.setItem('scadaURL', 'http://139.155.92.140:7081/')
    </script>
    <% } %>
    <!-- 集成测试环境 -->
    <% if (process.env.VUE_APP_NODE_ENV==='prod:sit' ) { %>
    <script>
      window.SITE_CONFIG['apiURL'] = 'http://139.155.92.140:8081/'
    </script>
    <% } %>
    <!-- 验收测试环境 -->
    <% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
    <script>
      window.SITE_CONFIG['apiURL'] = 'http://139.155.92.140:8081/'
    </script>
    <% } %>
    <!-- 生产环境 -->
    <% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
    <script>
      window.SITE_CONFIG['apiURL'] = window.location.origin
      window.SITE_CONFIG['apiURL'] = 'http://139.155.92.140:8081/'
    </script>

    <script>
      localStorage.setItem('baseURL', window.SITE_CONFIG['apiURL'])
    </script>
    <% } %>
    <script>
      window.SITE_CONFIG['videoURL'] = 'http://open.ys7.com'
    </script>
    <script>
      localStorage.setItem('videoBaseURL', window.SITE_CONFIG['videoURL'])
    </script>
    <script>
      window.SITE_CONFIG['scadaURL'] = 'http://139.155.92.140:7081'
    </script>
    <script>
      window.SITE_CONFIG['fineReportURL'] = 'http://10.51.1.104:8075'
    </script>
    <script>
      window.SITE_CONFIG['radarImgUrl'] = 'http://139.155.92.140:8081//monitor/imagesCenter?suffix='
    </script>
    <script>
      window.SITE_CONFIG['imgUrl'] = 'http://47.108.192.186:8892/images_center'
    </script>
  </head>
  <body class="app-body app-body-dark">
    <!-- <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript> -->
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
